package com.im.websocket.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
public class NettyConfigure {
    @Value("${netty.port: 9081}")
    private int port; // netty监听的端口
    @Value("${netty.path}")
    private String path; // websocket访问路径
}
